package com.company;

interface Some{
     void doSome();
}
interface  Other{
    void doOther();
}

class SomeOthereImp1 implements Some,Other{
       public void doSome(){
        System.out.println("do something");
    }
    public  void doOther(){
        System.out.println("do other things");
    }

}

public class MainI {
    public static void main(String[] args) {
       Some s=new SomeOthereImp1();
        s.doSome();
        Other o=(Other)s;
        o.doOther();
    }
}